<?php require_once 'common/adminHeader.php';?>
<div class="nav">
当前位置：<a href="<?php echo siteUrl('Manage/adminlist')?>">管理员列表</a>
</div>
<form name="form1" id="form1" method="post" action="">
<?php if ($form_data->list):?>
	<table class="tableClass"  width="100%"  border="0" cellpadding="0" cellspacing="1">
	<tr>
			<td width="350">用户名</td>
			<td width="350">真实姓名</td>
			<td >编辑</td>
	</tr>
<?php foreach ($form_data->list as $key=>$value):?>
	<tr>
		<td><?php echo $value['AdminName'];?></td>
		<td><?php echo $value['TrueName'];?></td>
		<td><a href ="<?php echo siteUrl('Manage/adminedit?id='.$value['Id'].'');?>">修改</a> 
			<a onClick="if (confirm('确定删除?')){return ture;}else{return false;}" href ="<?php echo siteUrl('Manage/admindel?id='.$value['Id'].'');?>">删除</a>   
		</td>
	</tr>
<?php endforeach; echo "</table>"; endif;?>
<br>
<a href ="<?php echo siteUrl('Manage/adminadd');?>">添加新的管理员</a> 
</form>